package com.ctn.information.data.retriever.Interface;

import java.util.Date;
import java.util.List;

import com.ctn.information.data.model.NewsComment;
import com.ctn.information.data.retriever.Retriever;
import com.ctn.information.exception.MethodNotSupportException;


/**
 * get Comments for information.
 * @author Zale
 *
 */
public interface NewsCommentRetriever extends Retriever<NewsComment> {
	List<NewsComment> getDataFromId(Long id,int count,boolean asc) throws Exception;
	List<NewsComment> getDataFromDate(Date date,int count,boolean asc) throws Exception;
}
